home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 83
/
(Vol 83) My Disc.iso
/
Games
/
bee_game.swf
/
scripts
/
DefineSprite_96
/
frame_149
/
DoAction.as
Wrap
Text File
|
2008-08-07
|
2KB
|
84 lines
tekan = false;
start_but._xscale = start_but._yscale = instruct_but._xscale = instruct_but._yscale = addgame_but._xscale = addgame_but._yscale = playmore_but._xscale = playmore_but._yscale = 140;
start_but.onRollOver = function()
{
start_but._xscale = 165;
start_but._yscale = 165;
};
start_but.onRollOut = function()
{
start_but._xscale = 140;
start_but._yscale = 140;
};
instruct_but.onRollOver = function()
{
instruct_but._xscale = 165;
instruct_but._yscale = 165;
};
instruct_but.onRollOut = function()
{
instruct_but._xscale = 140;
instruct_but._yscale = 140;
};
playmore_but.onRollOver = function()
{
playmore_but._xscale = 165;
playmore_but._yscale = 165;
};
playmore_but.onRollOut = function()
{
playmore_but._xscale = 140;
playmore_but._yscale = 140;
};
addgame_but.onRollOver = function()
{
addgame_but._xscale = 165;
addgame_but._yscale = 165;
};
addgame_but.onRollOut = function()
{
addgame_but._xscale = 140;
addgame_but._yscale = 140;
};
start_but.onRelease = function()
{
if(!tekan)
{
_root.suara_beep.start(0,1);
tekan = true;
var _loc3_ = _root.createEmptyMovieClip("empty",1);
_loc3_.beginFill(0,100);
_loc3_.lineStyle(5,0,100);
_loc3_.moveTo(0,0);
_loc3_.lineTo(Stage.width,0);
_loc3_.lineTo(Stage.width,Stage.height);
_loc3_.lineTo(0,Stage.height);
_loc3_.lineTo(0,0);
_loc3_.endFill();
_loc3_._alpha = 0;
_loc3_._delay = 25;
_loc3_.onEnterFrame = function()
{
this._delay = this._delay - 1;
this._alpha = 100 - this._delay * 4;
if(this._delay <= 0)
{
_root.gotoAndStop("level1");
this.removeMovieClip();
}
};
}
};
instruct_but.onRelease = function()
{
_root.gotoAndStop("instruction");
};
addgame_but.onRelease = function()
{
getUrl("http://www.dailyfreegames.com/free-games.html", "_blank");
};
playmore_but.onRelease = function()
{
getUrl("http://www.dailyfreegames.com", "_blank");
};